<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <link rel="stylesheet" href="../../layui/css/layui.css" media="all">
    <script src="../../layui/layui.js" charset="utf-8"></script>
    <script src="../../js/jquery-3.4.1.min.js" charset="utf-8"></script>
    <script src="../../js/common.js" charset="utf-8"></script>
    <link rel="stylesheet" href="../../layui/formSelects-v4.css"/>
    <script src="install_postgres.js"></script>
</head>
<body>
<fieldset class="layui-elem-field layui-field-title" style="margin-top: 20px;">
    <legend>注意：</legend>
</fieldset>
<span style="margin-left: 30px;color: red">此功能为离线安装,请提前准备好postgres镜像包</span>
<form class="layui-form">
    <input id="ids" type="hidden" name="ids" />
    <input id="dataJson" type="hidden" name="dataJson">
    <br>
    <div class="layui-form-item">
        <label class="layui-form-label" style="width: 150px">postgres镜像包<span style="color: red">*</span></label>
        <div class="layui-input-inline">
            <input type="file" id="postgresFile" required>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label" style="width: 150px">远程上传临时目录<span style="color: red">*</span></label>
        <div class="layui-input-block">
            <input type="text" style="width: 400px" id="tempPath" name="tempPath" lay-verify="required"
                   autocomplete="on" placeholder="/data/temp" value="/data/temp"
                   class="layui-input">
        </div>
    </div>
    <div class="layui-upload-list" id="uploadList" style="max-width: 700px;margin-left: 50px;margin-right: 50px;height:200px;overflow-x: auto">
    </div>

    <div class="layui-form-item">
        <div class="layui-input-block" style="position: absolute;left: 320px">
            <button class="layui-btn" lay-submit="" lay-filter="save">提交</button>
            <button class="layui-btn"  id="close">关闭</button>
        </div>
    </div>
</form>
</body>
</html>